<template lang="pug">
    span.bubble {{num}}
</template>

<script>
export default {
  name: 'bubble',
  props: {
    num: {
        type: Number
    }
  }
}
</script>

<style lang="stylus" scoped>
@import '../../static/common/stylus/variable'

.bubble {
    display: inline-block;
    padding: 0 5px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-family: Helvetica;
    border-radius: 16px;
    font-weight: 700;
    font-size: $fontsize-small-s;
    color: $color-white;
    background: linear-gradient(to right, $color-orange, $color-red);
}
</style>